import { KuiRowProps } from './type';
import { PropType } from 'vue';

export default {
	/**
	 * @zh 子元素布局方式
	 */
	type: {
		type: String as PropType<KuiRowProps['type']>,
		default: 'grid' as KuiRowProps['type']
	},
	/**
	 * @zh 子元素间距
	 */
	gutter: {
		type: Number,
		default: 0
	},
	/**
	 * @zh Flex 子元素主轴对齐方式
	 */
	justify: {
		type: String as PropType<KuiRowProps['justify']>,
		default: 'start' as KuiRowProps['justify']
	},
	/**
	 * @zh Flex 子元素交叉轴对齐方式
	 */
	align: {
		type: String as PropType<KuiRowProps['align']>,
		default: 'start' as KuiRowProps['align']
	},
	/**
	 * @zh 子元素换行
	 */
	wrap: {
		type: String as PropType<KuiRowProps['wrap']>,
		default: 'wrap' as KuiRowProps['wrap']
	}
}